<template>
	<view class="cu-list menu card-menu margin-bottom-xl shadow-lg radius " style="background-color: #fff;">
		<view class="u-header"><text class="tips2">任务编号:</text><text class="val">{{data.taskCode}}</text></view>
		<view class="u-body">
			<view class="row">
				<view class="tips">任务类型</view>
				<view class="val">{{data.taskType ==1 ? '常规' : '自定义'}}</view>
			</view>
			<view class="row">
				<view class="tips">煤样类型</view>
				<view class="val">{{data.coalTypeName}}</view>
			</view>
			<view class="row">
				<view class="tips">委托单位</view>
				<view class="val">{{data.entrustCompanyName}}</view>
			</view>
			<view class="row">
				<view class="tips">检验单位</view>
				<view class="val">{{data.assayCompanyName}}</view>
			</view>
			<view style="height: 10rpx;"></view>
			<uni-steps :options="[{title: '委托'}, {title: '采样'}, {title: '制样'}, {title: '化验'}, {title: '报告'}]" :active="(data.stepNum)" activeColor="#116ab7"></uni-steps>
		</view>
	</view>
</template>

<script>
	import uniSteps from '@/components/uni-steps/uni-steps.vue';
	export default {
		data() {
			return {};
		},
		name: 'u-task-withsteps',
		components: {
			uniSteps
		},
		props: {
			data: {}
		},
		methods: {}
	}
</script>

<style>
</style>
